package com.yangyouli.unity_demo_server.server.serializeModel;

import com.yangyouli.unity_demo_server.entity.FriendsVO;

public class FriendsApplicationVO extends FriendsApplication {
	private FriendsVO friendsVO;

	public FriendsApplicationVO () {}
	
	public FriendsApplicationVO(int applicantUserId, int respondentUserId, String applicationMessage,
			long applicationTime, boolean read) {
		super(applicantUserId, respondentUserId, applicationMessage, applicationTime, read);
	}
	
	public FriendsVO getFriendsVO() {
		return friendsVO;
	}

	public void setFriendsVO(FriendsVO friendsVO) {
		this.friendsVO = friendsVO;
	}
	
	public void SetParentValue (FriendsApplication f) {
		setApplicantUserId(f.getApplicantUserId());
		setRespondentUserId(f.getRespondentUserId());
		setApplicationMessage(f.getApplicationMessage());
		setApplicationTime(f.getApplicationTime());
		setRead(f.isRead());
	}
}
